/*
 * @Description: 
 * @Author: Junhuang
 * @Date: 2022-03-16 23:24:31
 * @LastEditTime: 2022-03-16 23:24:32
 * @LastEditors: Junhuang
 * @Reference: 
 */
// server.js
const egg = require('egg');

const workers = Number(process.argv[2] || require('os').cpus().length);
egg.startCluster({
  workers,
  baseDir: __dirname,
});
